package com.ctrip.controllers;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Objects;

/**
 * Created by li_wb on 2017/8/24.
 */
@RestController
@RequestMapping("/")
public class IndexController {
    @RequestMapping("index")
    public String index(@RequestParam(value = "a", required = false, defaultValue = "1") String a) {
        return "hi";
    }
}
